package com.bite.spring.demo.sample;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2025-08-27
 * Time: 21:36
 */

@RequestMapping("/user2") // 斜杠是规范，可以不加
@RestController
public class UserController2 {
    @RequestMapping("/m1") //访问的是这里的路径
    public String m1(){
        return "m1";
    }


}
